package com.atguigu.meinian.mapper;

import com.atguigu.meinian.pojo.Address;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zbystart
 * @create 2021-06-29 18:12
 */
public interface AddressMapper {
    List<Address> selectAllMaps();

    Page<Address> selectAddressByQuery(@Param("queryString") String queryString);

    void insertAddress(Address address);

    void deleteAddressById(Integer id);
}
